package lijun;

public class Cube extends Rectangle {
    private double height;

    double getTj() {
        return getMj() * height;
    }

    public Cube(double length, double width, double height) {
        super(length, width);
        this.height = height;
    }
}
